package top.milkbox.sys.modular.relationship.mapStruct;

import org.mapstruct.Mapper;
import top.milkbox.sys.modular.relationship.entity.SysRelationshipEntity;
import top.milkbox.sys.modular.relationship.param.SysRelationshipAddParam;
import top.milkbox.sys.modular.relationship.param.SysRelationshipEditParam;
import top.milkbox.sys.modular.relationship.vo.SysRelationshipVo;

/**
 * SysRelationship相关的实体类之间的转换<br />
 * 此接口由MapStruct在编译时生成实现代码，详细解释请看readme<br />
 *
 * @author milkbox
 * @date 2024-11-19
 */
@Mapper
public interface SysRelationshipMapStruct {

    /**
     * entity转vo
     */
    SysRelationshipVo entityToVo(SysRelationshipEntity entity);

    /**
     * addParam转entity
     */
    SysRelationshipEntity addParamToEntity(SysRelationshipAddParam addParam);

    /**
     * editParam转entity
     */
    SysRelationshipEntity editParamToEntity(SysRelationshipEditParam editParam);

}